package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum StatusOrderApplyEnum {

    NO(0,"未确认"),
    CONFIRM(1,"已确认"),
    TOVOID(2,"订单作废");//原先为已作废，现在这个状态为课时未生效


    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    StatusOrderApplyEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
